package spittr.data;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import spittr.Spittle;

import java.util.List;

@Repository
public class JdbcSpittleRepository implements SpittleRepository{
    private JdbcTemplate jdbc;

    @Autowired
    public JdbcSpittleRepository(JdbcTemplate jdbc) {
        this.jdbc = jdbc;
    }

    @Override
    public List<Spittle> findSpittles(long max, int count) {
        return null;
    }

    @Override
    public Spittle findByID(long spittleId) {
        return null;
    }
}
